@charset "UTF-8";

body {
  font: 14px/1.5 'Microsoft YaHei', Tahoma, 'simsun', sans-serif;
  background: #161616;
  color: #666;
}

/* 单行省略号 */
.ellipsis {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 纵向菜单 */
.vertical-menu {
  &.vertical-menu--dark {
    .vertical-menu__title {
      color: #a9905e;
    }
    .vertical-menu__item {
      background: url('../img/common/menu/timeline-dark.png') no-repeat 0 20px;
      &.active {
        .btn {
          background: url('../img/common/menu/btn-dark-active.png') no-repeat 0
            0;
          color: #fff;
        }
      }
      .btn {
        background: url('../img/common/menu/btn-dark.png') no-repeat 0 0;
        color: #a9905e;
      }
    }
  }
  .vertical-menu__title {
    margin-left: 40px;
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: 700;
    text-indent: 30px;
    background: url('../img/common/menu/icon-office.png') no-repeat 0 15px;
    color: #e9d8b4;
    &.vertical-menu__title--helmet {
      background-image: url('../img/common/menu/icon-helmet.png');
    }
    &.vertical-menu__title--world {
      background-image: url('../img/common/menu/icon-world.png');
    }
  }
  .vertical-menu__item {
    position: relative;
    height: 100px;
    background: url('../img/common/menu/timeline.png') no-repeat 0 20px;
    &:last-child {
      background: none;
      &::after {
        position: absolute;
        top: 20px;
        left: 0;
        width: 11px;
        height: 11px;
        content: '';
        background: url('../img/common/menu/timeline.png') no-repeat;
      }
    }
    &.active .btn {
      width: 206px;
      margin-left: 0;
      text-indent: 30px;
      background: url('../img/common/menu/btn-active.png') no-repeat 0 0;
      color: #e9d8b4;
    }
    .btn {
      display: block;
      width: 176px;
      height: 47px;
      line-height: 47px;
      margin-left: 30px;
      text-align: center;
      font-size: 16px;
      font-weight: 700;
      background: url('../img/common/menu/btn.png') no-repeat 0 0;
      color: #fff;
    }
  }
}

/* 快捷图标*/
.shortcut {
  position: fixed;
  right: 40px;
  bottom: 40px;
}
